using System;
using System.Collections.Generic;
using System.Text;

namespace ACS.Compiler.Tables.Modes
{
    public class BottomMode : Mode
    {
        private static BottomMode _instance;
        public static BottomMode Instance
        {
            get
            {
                return _instance ?? (_instance = new BottomMode());
            }
        }


        public override bool Equals(object obj)
        {
            // any mode can be casted to bottom.
            return true;
        }

        public override string ToDeclareFormat()
        {
            return "BaseType";
        }
    }
}
